package com.whfc.iot.fse.lift.entity;

import java.io.Serializable;

/**
 * @Description: 升降机数据
 * @author: xugcheng
 * @version: 1.0
 * @date: 2020-12-08 9:24
 */
public class LiftMsg implements Serializable {

    /**
     * 帧类型
     */
    private int dataType;

    /**
     * 吊笼编号
     */
    private int cageNo;

    /**
     * 左右吊笼
     */
    private int cageType;

    /**
     * 设备编号(出场唯一)
     */
    private int deviceSn;

    /**
     * 硬件ID
     */
    private Integer deviceId;

    /**
     * 数据
     */
    private byte[] data;

    /**
     * 校验和
     */
    private int checkSum;

    /**
     * 长度
     */
    private int length;

    public int getDataType() {
        return dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public int getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(int deviceSn) {
        this.deviceSn = deviceSn;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public int getCageNo() {
        return cageNo;
    }

    public void setCageNo(int cageNo) {
        this.cageNo = cageNo;
    }

    public int getCageType() {
        return cageType;
    }

    public void setCageType(int cageType) {
        this.cageType = cageType;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public int getCheckSum() {
        return checkSum;
    }

    public void setCheckSum(int checkSum) {
        this.checkSum = checkSum;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }
}
